<!doctype>
<html>
	<head>
		<title>日志分析</title>
		<script src="https://lib.baomitu.com/jquery/3.3.1/jquery.min.js"></script>
		<style>
		
			th>div{
				width:500px;
			}
			td>div{
				width:500px;
				word-break:break-all;
				margin-left:10px;
				//margin-top:20px;
			}
			td{
				vertical-align:top;
			}
			.line-table tr:nth-child(n+2) td>div{
				margin-top:20px;
			}
			
			#table>tbody>tr>td{
				border-top:1px solid green;
			}
			
		</style>
	</head>
	<body>
		<div>
			<input id="btn_analyze" type='button' value='分析'/>
		</div>
		<div>
			<textarea id="analyse_content" style="width:80%;height:300px;">
			{"data":"{\"region\":{\"region_rowid\":104,\"use_type\":0,\"province_rowid\":9,\"city_rowid\":104,\"district_rowid\":0,\"receiver_state\":\"河北省\",\"receiver_city\":\"保定市\",\"receiver_district\":\"\"},\"warehouse_logistics_list\":[{\"real_rowid\":7190,\"group_guid\":\"9B92E73D-9060-420F-A7E1-946832E9BD47\",\"warehouse_rowid\":2677,\"deliver_goods_type\":2,\"logistics_list\":[{\"real_master_rowid\":7190,\"logistics_rowid\":3,\"logistics_name\":\"圆通\",\"apply_sort\":1,\"type\":0},{\"real_master_rowid\":7190,\"logistics_rowid\":2,\"logistics_name\":\"中通\",\"apply_sort\":2,\"type\":0}]},{\"real_rowid\":0,\"group_guid\":\"9B92E73D-9060-420F-A7E1-946832E9BD47\",\"warehouse_rowid\":135,\"deliver_goods_type\":\"1\",\"logistics_list\":[{\"apply_sort\":1,\"logistics_name\":\"汇通\",\"logistics_rowid\":1}]}],\"shop_warehouse_logistics_list\":[{\"shop_rowid\":107,\"group_guid\":\"AA0988CF-C2E3-4944-A9FD-997450BCEF82\",\"real_rowid\":469,\"warehouse_rowid\":2677,\"deliver_goods_type\":2,\"logistics_list\":[{\"real_master_rowid\":469,\"logistics_rowid\":1,\"logistics_name\":\"汇通\",\"apply_sort\":1,\"type\":2},{\"real_master_rowid\":469,\"logistics_rowid\":2,\"logistics_name\":\"中通\",\"apply_sort\":2,\"type\":2},{\"real_master_rowid\":469,\"logistics_rowid\":4,\"logistics_name\":\"申通\",\"apply_sort\":3,\"type\":2},{\"real_master_rowid\":469,\"logistics_rowid\":7,\"logistics_name\":\"EMS\",\"apply_sort\":4,\"type\":2},{\"real_master_rowid\":469,\"logistics_rowid\":18,\"logistics_name\":\"德邦物流\",\"apply_sort\":5,\"type\":2}]},{\"shop_rowid\":3,\"group_guid\":\"AA0988CF-C2E3-4944-A9FD-997450BCEF82\",\"real_rowid\":104,\"warehouse_rowid\":216,\"deliver_goods_type\":2,\"logistics_list\":[{\"real_master_rowid\":104,\"logistics_rowid\":3,\"logistics_name\":\"圆通\",\"apply_sort\":1,\"type\":2},{\"real_master_rowid\":104,\"logistics_rowid\":7,\"logistics_name\":\"EMS\",\"apply_sort\":2,\"type\":2},{\"real_master_rowid\":104,\"logistics_rowid\":18,\"logistics_name\":\"德邦物流\",\"apply_sort\":3,\"type\":2}]},{\"shop_rowid\":92,\"group_guid\":\"AA0988CF-C2E3-4944-A9FD-997450BCEF82\",\"real_rowid\":1200,\"warehouse_rowid\":216,\"deliver_goods_type\":2,\"logistics_list\":[{\"real_master_rowid\":1200,\"logistics_rowid\":1,\"logistics_name\":\"汇通\",\"apply_sort\":1,\"type\":2},{\"real_master_rowid\":1200,\"logistics_rowid\":3,\"logistics_name\":\"圆通\",\"apply_sort\":2,\"type\":2},{\"real_master_rowid\":1200,\"logistics_rowid\":7,\"logistics_name\":\"EMS\",\"apply_sort\":3,\"type\":2},{\"real_master_rowid\":1200,\"logistics_rowid\":18,\"logistics_name\":\"德邦物流\",\"apply_sort\":4,\"type\":2}]},{\"shop_rowid\":101,\"group_guid\":\"AA0988CF-C2E3-4944-A9FD-997450BCEF82\",\"real_rowid\":834,\"warehouse_rowid\":216,\"deliver_goods_type\":2,\"logistics_list\":[{\"real_master_rowid\":834,\"logistics_rowid\":3,\"logistics_name\":\"圆通\",\"apply_sort\":1,\"type\":2},{\"real_master_rowid\":834,\"logistics_rowid\":1,\"logistics_name\":\"汇通\",\"apply_sort\":2,\"type\":2},{\"real_master_rowid\":834,\"logistics_rowid\":7,\"logistics_name\":\"EMS\",\"apply_sort\":3,\"type\":2},{\"real_master_rowid\":834,\"logistics_rowid\":18,\"logistics_name\":\"德邦物流\",\"apply_sort\":4,\"type\":2}]}],\"split_warehouse_logistics_list\":[{\"real_rowid\":6195,\"group_guid\":\"E86A34A6-06C6-4747-AC73-7AB383666184\",\"deliver_goods_type\":0,\"split_type\":1,\"warehouse_rowid\":1000763,\"warehouse_name\":\"杭州思味王仓\",\"split_type_name\":\"曲奇饼\",\"logistics_list\":[{\"real_master_rowid\":6195,\"logistics_rowid\":9,\"logistics_name\":\"顺丰\",\"apply_sort\":1,\"type\":1}]},{\"real_rowid\":6560,\"group_guid\":\"E86A34A6-06C6-4747-AC73-7AB383666184\",\"deliver_goods_type\":0,\"split_type\":3,\"warehouse_rowid\":1000846,\"warehouse_name\":\"EMS郑州品类仓\",\"split_type_name\":\"巨型零食\",\"logistics_list\":[{\"real_master_rowid\":6560,\"logistics_rowid\":7,\"logistics_name\":\"EMS\",\"apply_sort\":1,\"type\":1}]},{\"real_rowid\":6925,\"group_guid\":\"E86A34A6-06C6-4747-AC73-7AB383666184\",\"deliver_goods_type\":0,\"split_type\":2,\"warehouse_rowid\":245,\"warehouse_name\":\"成都仓\",\"split_type_name\":\"每日坚果\",\"logistics_list\":[{\"real_master_rowid\":6925,\"logistics_rowid\":1,\"logistics_name\":\"汇通\",\"apply_sort\":1,\"type\":1}]}],\"appoint_product_list\":[{\"real_rowid\":105,\"product_guid\":\"30009462-47D7-4352-B5E3-ECC72B4B8A37\",\"wms_product_short_name\":\"新奇特_红酒/梦陇AOC优选波尔多/750ml\",\"product_bar_code\":\"3701144700135\",\"product_code\":\"811509004\",\"product_spec\":\"750ml\",\"small_unit\":\"瓶\",\"begin_datetime\":\"2018-10-31 16:00:00\",\"end_datetime\":\"2019-10-31 16:00:00\",\"memo\":\"指定仓库发货\",\"warehouse_rowid\":2677,\"warehouse_name\":\"芜湖一仓\",\"logistics_list\":[{\"real_master_rowid\":105,\"logistics_rowid\":1,\"logistics_name\":\"汇通\",\"apply_sort\":1,\"type\":3},{\"real_master_rowid\":105,\"logistics_rowid\":4,\"logistics_name\":\"申通\",\"apply_sort\":2,\"type\":3},{\"real_master_rowid\":105,\"logistics_rowid\":2,\"logistics_name\":\"中通\",\"apply_sort\":3,\"type\":3},{\"real_master_rowid\":105,\"logistics_rowid\":7,\"logistics_name\":\"EMS\",\"apply_sort\":4,\"type\":3}],\"product_short_name\":\"新奇特_红酒/梦陇AOC优选波尔多/750ml\",\"logistic_text\":\"汇通、申通、中通、EMS\"}]}","_LOG_CONTENT_":"{\"type\":\"区域物流\",\"Change_Data\":{\"region\":{\"before\":\"[{\\\"region_rowid\\\":104,\\\"receiver_state\\\":\\\"河北省\\\",\\\"receiver_city\\\":\\\"保定市\\\",\\\"receiver_district\\\":\\\"\\\",\\\"province_rowid\\\":9,\\\"city_rowid\\\":104,\\\"district_rowid\\\":0}]\",\"now\":\"{\\\"region_rowid\\\":104,\\\"use_type\\\":0,\\\"province_rowid\\\":9,\\\"city_rowid\\\":104,\\\"district_rowid\\\":0,\\\"receiver_state\\\":\\\"河北省\\\",\\\"receiver_city\\\":\\\"保定市\\\",\\\"receiver_district\\\":\\\"\\\"}\"},\"warehouse_logistics_list\":{\"before\":\"[{\\\"real_rowid\\\":7190,\\\"group_guid\\\":\\\"9B92E73D-9060-420F-A7E1-946832E9BD47\\\",\\\"deliver_goods_type\\\":2,\\\"split_type\\\":0,\\\"warehouse_rowid\\\":2677,\\\"warehouse_name\\\":\\\"芜湖一仓\\\",\\\"logistics_list\\\":[{\\\"real_master_rowid\\\":7190,\\\"logistics_rowid\\\":3,\\\"logistics_name\\\":\\\"圆通\\\",\\\"apply_sort\\\":1,\\\"type\\\":0},{\\\"real_master_rowid\\\":7190,\\\"logistics_rowid\\\":2,\\\"logistics_name\\\":\\\"中通\\\",\\\"apply_sort\\\":2,\\\"type\\\":0}]}]\",\"now\":\"[{\\\"real_rowid\\\":7190,\\\"group_guid\\\":\\\"9B92E73D-9060-420F-A7E1-946832E9BD47\\\",\\\"warehouse_rowid\\\":2677,\\\"deliver_goods_type\\\":2,\\\"logistics_list\\\":[{\\\"real_master_rowid\\\":7190,\\\"logistics_rowid\\\":3,\\\"logistics_name\\\":\\\"圆通\\\",\\\"apply_sort\\\":1,\\\"type\\\":0},{\\\"real_master_rowid\\\":7190,\\\"logistics_rowid\\\":2,\\\"logistics_name\\\":\\\"中通\\\",\\\"apply_sort\\\":2,\\\"type\\\":0}]},{\\\"real_rowid\\\":0,\\\"group_guid\\\":\\\"9B92E73D-9060-420F-A7E1-946832E9BD47\\\",\\\"warehouse_rowid\\\":135,\\\"deliver_goods_type\\\":\\\"1\\\",\\\"logistics_list\\\":[{\\\"apply_sort\\\":1,\\\"logistics_name\\\":\\\"汇通\\\",\\\"logistics_rowid\\\":1}]}]\"},\"shop_warehouse_logistics_list\":{\"before\":\"[{\\\"real_rowid\\\":469,\\\"group_guid\\\":\\\"AA0988CF-C2E3-4944-A9FD-997450BCEF82\\\",\\\"deliver_goods_type\\\":2,\\\"split_type\\\":0,\\\"shop_rowid\\\":107,\\\"warehouse_rowid\\\":2677,\\\"shop_name\\\":\\\"网易考拉\\\",\\\"warehouse_name\\\":\\\"芜湖一仓\\\",\\\"logistics_list\\\":[{\\\"real_master_rowid\\\":469,\\\"logistics_rowid\\\":1,\\\"logistics_name\\\":\\\"汇通\\\",\\\"apply_sort\\\":1,\\\"type\\\":2},{\\\"real_master_rowid\\\":469,\\\"logistics_rowid\\\":2,\\\"logistics_name\\\":\\\"中通\\\",\\\"apply_sort\\\":2,\\\"type\\\":2},{\\\"real_master_rowid\\\":469,\\\"logistics_rowid\\\":4,\\\"logistics_name\\\":\\\"申通\\\",\\\"apply_sort\\\":3,\\\"type\\\":2},{\\\"real_master_rowid\\\":469,\\\"logistics_rowid\\\":7,\\\"logistics_name\\\":\\\"EMS\\\",\\\"apply_sort\\\":4,\\\"type\\\":2},{\\\"real_master_rowid\\\":469,\\\"logistics_rowid\\\":18,\\\"logistics_name\\\":\\\"德邦物流\\\",\\\"apply_sort\\\":5,\\\"type\\\":2}]},{\\\"real_rowid\\\":104,\\\"group_guid\\\":\\\"AA0988CF-C2E3-4944-A9FD-997450BCEF82\\\",\\\"deliver_goods_type\\\":2,\\\"split_type\\\":0,\\\"shop_rowid\\\":3,\\\"warehouse_rowid\\\":216,\\\"shop_name\\\":\\\"三只松鼠京东旗舰店\\\",\\\"warehouse_name\\\":\\\"天津仓\\\",\\\"logistics_list\\\":[{\\\"real_master_rowid\\\":104,\\\"logistics_rowid\\\":3,\\\"logistics_name\\\":\\\"圆通\\\",\\\"apply_sort\\\":1,\\\"type\\\":2},{\\\"real_master_rowid\\\":104,\\\"logistics_rowid\\\":7,\\\"logistics_name\\\":\\\"EMS\\\",\\\"apply_sort\\\":2,\\\"type\\\":2},{\\\"real_master_rowid\\\":104,\\\"logistics_rowid\\\":18,\\\"logistics_name\\\":\\\"德邦物流\\\",\\\"apply_sort\\\":3,\\\"type\\\":2}]},{\\\"real_rowid\\\":1200,\\\"group_guid\\\":\\\"AA0988CF-C2E3-4944-A9FD-997450BCEF82\\\",\\\"deliver_goods_type\\\":2,\\\"split_type\\\":0,\\\"shop_rowid\\\":92,\\\"warehouse_rowid\\\":216,\\\"shop_name\\\":\\\"阿里零售通\\\",\\\"warehouse_name\\\":\\\"天津仓\\\",\\\"logistics_list\\\":[{\\\"real_master_rowid\\\":1200,\\\"logistics_rowid\\\":1,\\\"logistics_name\\\":\\\"汇通\\\",\\\"apply_sort\\\":1,\\\"type\\\":2},{\\\"real_master_rowid\\\":1200,\\\"logistics_rowid\\\":3,\\\"logistics_name\\\":\\\"圆通\\\",\\\"apply_sort\\\":2,\\\"type\\\":2},{\\\"real_master_rowid\\\":1200,\\\"logistics_rowid\\\":7,\\\"logistics_name\\\":\\\"EMS\\\",\\\"apply_sort\\\":3,\\\"type\\\":2},{\\\"real_master_rowid\\\":1200,\\\"logistics_rowid\\\":18,\\\"logistics_name\\\":\\\"德邦物流\\\",\\\"apply_sort\\\":4,\\\"type\\\":2}]},{\\\"real_rowid\\\":834,\\\"group_guid\\\":\\\"AA0988CF-C2E3-4944-A9FD-997450BCEF82\\\",\\\"deliver_goods_type\\\":2,\\\"split_type\\\":0,\\\"shop_rowid\\\":101,\\\"warehouse_rowid\\\":216,\\\"shop_name\\\":\\\"三只松鼠小店平台\\\",\\\"warehouse_name\\\":\\\"天津仓\\\",\\\"logistics_list\\\":[{\\\"real_master_rowid\\\":834,\\\"logistics_rowid\\\":3,\\\"logistics_name\\\":\\\"圆通\\\",\\\"apply_sort\\\":1,\\\"type\\\":2},{\\\"real_master_rowid\\\":834,\\\"logistics_rowid\\\":1,\\\"logistics_name\\\":\\\"汇通\\\",\\\"apply_sort\\\":2,\\\"type\\\":2},{\\\"real_master_rowid\\\":834,\\\"logistics_rowid\\\":7,\\\"logistics_name\\\":\\\"EMS\\\",\\\"apply_sort\\\":3,\\\"type\\\":2},{\\\"real_master_rowid\\\":834,\\\"logistics_rowid\\\":18,\\\"logistics_name\\\":\\\"德邦物流\\\",\\\"apply_sort\\\":4,\\\"type\\\":2}]}]\",\"now\":\"[{\\\"shop_rowid\\\":107,\\\"group_guid\\\":\\\"AA0988CF-C2E3-4944-A9FD-997450BCEF82\\\",\\\"real_rowid\\\":469,\\\"warehouse_rowid\\\":2677,\\\"deliver_goods_type\\\":2,\\\"logistics_list\\\":[{\\\"real_master_rowid\\\":469,\\\"logistics_rowid\\\":1,\\\"logistics_name\\\":\\\"汇通\\\",\\\"apply_sort\\\":1,\\\"type\\\":2},{\\\"real_master_rowid\\\":469,\\\"logistics_rowid\\\":2,\\\"logistics_name\\\":\\\"中通\\\",\\\"apply_sort\\\":2,\\\"type\\\":2},{\\\"real_master_rowid\\\":469,\\\"logistics_rowid\\\":4,\\\"logistics_name\\\":\\\"申通\\\",\\\"apply_sort\\\":3,\\\"type\\\":2},{\\\"real_master_rowid\\\":469,\\\"logistics_rowid\\\":7,\\\"logistics_name\\\":\\\"EMS\\\",\\\"apply_sort\\\":4,\\\"type\\\":2},{\\\"real_master_rowid\\\":469,\\\"logistics_rowid\\\":18,\\\"logistics_name\\\":\\\"德邦物流\\\",\\\"apply_sort\\\":5,\\\"type\\\":2}]},{\\\"shop_rowid\\\":3,\\\"group_guid\\\":\\\"AA0988CF-C2E3-4944-A9FD-997450BCEF82\\\",\\\"real_rowid\\\":104,\\\"warehouse_rowid\\\":216,\\\"deliver_goods_type\\\":2,\\\"logistics_list\\\":[{\\\"real_master_rowid\\\":104,\\\"logistics_rowid\\\":3,\\\"logistics_name\\\":\\\"圆通\\\",\\\"apply_sort\\\":1,\\\"type\\\":2},{\\\"real_master_rowid\\\":104,\\\"logistics_rowid\\\":7,\\\"logistics_name\\\":\\\"EMS\\\",\\\"apply_sort\\\":2,\\\"type\\\":2},{\\\"real_master_rowid\\\":104,\\\"logistics_rowid\\\":18,\\\"logistics_name\\\":\\\"德邦物流\\\",\\\"apply_sort\\\":3,\\\"type\\\":2}]},{\\\"shop_rowid\\\":92,\\\"group_guid\\\":\\\"AA0988CF-C2E3-4944-A9FD-997450BCEF82\\\",\\\"real_rowid\\\":1200,\\\"warehouse_rowid\\\":216,\\\"deliver_goods_type\\\":2,\\\"logistics_list\\\":[{\\\"real_master_rowid\\\":1200,\\\"logistics_rowid\\\":1,\\\"logistics_name\\\":\\\"汇通\\\",\\\"apply_sort\\\":1,\\\"type\\\":2},{\\\"real_master_rowid\\\":1200,\\\"logistics_rowid\\\":3,\\\"logistics_name\\\":\\\"圆通\\\",\\\"apply_sort\\\":2,\\\"type\\\":2},{\\\"real_master_rowid\\\":1200,\\\"logistics_rowid\\\":7,\\\"logistics_name\\\":\\\"EMS\\\",\\\"apply_sort\\\":3,\\\"type\\\":2},{\\\"real_master_rowid\\\":1200,\\\"logistics_rowid\\\":18,\\\"logistics_name\\\":\\\"德邦物流\\\",\\\"apply_sort\\\":4,\\\"type\\\":2}]},{\\\"shop_rowid\\\":101,\\\"group_guid\\\":\\\"AA0988CF-C2E3-4944-A9FD-997450BCEF82\\\",\\\"real_rowid\\\":834,\\\"warehouse_rowid\\\":216,\\\"deliver_goods_type\\\":2,\\\"logistics_list\\\":[{\\\"real_master_rowid\\\":834,\\\"logistics_rowid\\\":3,\\\"logistics_name\\\":\\\"圆通\\\",\\\"apply_sort\\\":1,\\\"type\\\":2},{\\\"real_master_rowid\\\":834,\\\"logistics_rowid\\\":1,\\\"logistics_name\\\":\\\"汇通\\\",\\\"apply_sort\\\":2,\\\"type\\\":2},{\\\"real_master_rowid\\\":834,\\\"logistics_rowid\\\":7,\\\"logistics_name\\\":\\\"EMS\\\",\\\"apply_sort\\\":3,\\\"type\\\":2},{\\\"real_master_rowid\\\":834,\\\"logistics_rowid\\\":18,\\\"logistics_name\\\":\\\"德邦物流\\\",\\\"apply_sort\\\":4,\\\"type\\\":2}]}]\"},\"appoint_product_list\":{\"before\":\"[{\\\"real_rowid\\\":105,\\\"product_guid\\\":\\\"30009462-47D7-4352-B5E3-ECC72B4B8A37\\\",\\\"wms_product_short_name\\\":\\\"新奇特_红酒/梦陇AOC优选波尔多/750ml\\\",\\\"product_bar_code\\\":\\\"3701144700135\\\",\\\"product_code\\\":\\\"811509004\\\",\\\"product_spec\\\":\\\"750ml\\\",\\\"small_unit\\\":\\\"瓶\\\",\\\"begin_datetime\\\":\\\"2018-10-31 16:00:00\\\",\\\"end_datetime\\\":\\\"2019-10-31 16:00:00\\\",\\\"memo\\\":\\\"指定仓库发货\\\",\\\"warehouse_rowid\\\":2677,\\\"warehouse_name\\\":\\\"芜湖一仓\\\",\\\"logistics_list\\\":[{\\\"real_master_rowid\\\":105,\\\"logistics_rowid\\\":1,\\\"logistics_name\\\":\\\"汇通\\\",\\\"apply_sort\\\":1,\\\"type\\\":3},{\\\"real_master_rowid\\\":105,\\\"logistics_rowid\\\":4,\\\"logistics_name\\\":\\\"申通\\\",\\\"apply_sort\\\":2,\\\"type\\\":3},{\\\"real_master_rowid\\\":105,\\\"logistics_rowid\\\":2,\\\"logistics_name\\\":\\\"中通\\\",\\\"apply_sort\\\":3,\\\"type\\\":3},{\\\"real_master_rowid\\\":105,\\\"logistics_rowid\\\":7,\\\"logistics_name\\\":\\\"EMS\\\",\\\"apply_sort\\\":4,\\\"type\\\":3}]}]\",\"now\":\"[{\\\"real_rowid\\\":105,\\\"product_guid\\\":\\\"30009462-47D7-4352-B5E3-ECC72B4B8A37\\\",\\\"wms_product_short_name\\\":\\\"新奇特_红酒/梦陇AOC优选波尔多/750ml\\\",\\\"product_bar_code\\\":\\\"3701144700135\\\",\\\"product_code\\\":\\\"811509004\\\",\\\"product_spec\\\":\\\"750ml\\\",\\\"small_unit\\\":\\\"瓶\\\",\\\"begin_datetime\\\":\\\"2018-10-31 16:00:00\\\",\\\"end_datetime\\\":\\\"2019-10-31 16:00:00\\\",\\\"memo\\\":\\\"指定仓库发货\\\",\\\"warehouse_rowid\\\":2677,\\\"warehouse_name\\\":\\\"芜湖一仓\\\",\\\"logistics_list\\\":[{\\\"real_master_rowid\\\":105,\\\"logistics_rowid\\\":1,\\\"logistics_name\\\":\\\"汇通\\\",\\\"apply_sort\\\":1,\\\"type\\\":3},{\\\"real_master_rowid\\\":105,\\\"logistics_rowid\\\":4,\\\"logistics_name\\\":\\\"申通\\\",\\\"apply_sort\\\":2,\\\"type\\\":3},{\\\"real_master_rowid\\\":105,\\\"logistics_rowid\\\":2,\\\"logistics_name\\\":\\\"中通\\\",\\\"apply_sort\\\":3,\\\"type\\\":3},{\\\"real_master_rowid\\\":105,\\\"logistics_rowid\\\":7,\\\"logistics_name\\\":\\\"EMS\\\",\\\"apply_sort\\\":4,\\\"type\\\":3}],\\\"product_short_name\\\":\\\"新奇特_红酒/梦陇AOC优选波尔多/750ml\\\",\\\"logistic_text\\\":\\\"汇通、申通、中通、EMS\\\"}]\"}},\"jserror\":\"\"}","_LOG_MODULE_NAME_":"undefined","_LOG_MODULE_PATH_":"1"}
			</textarea>
		</div>
		<div>
			<table id="table">
				<thead><th>item</th><th><div>before</div></th><th><div>now</div></th></thead>
				<tbody></tbody>
			</table>
		</div>
	</body>

</html>
<script>
	
	
	$(function(){
		$('#btn_analyze').click(function(){
			var data=JSON.parse(JSON.parse($('#analyse_content').val())['_LOG_CONTENT_'])['Change_Data'];
			$('#table>tbody').empty();
			
			var result=null;
			
			for(var key in data){
				var before=tryParseJson(data[key].before);
				var now=tryParseJson(data[key].now);
				
				var tds=$('<tr><td>'+key+'</td><td>&nbsp;</td><td>&nbsp;</td></tr>').appendTo($('#table>tbody')).find('td');
				
				var data1;
				
				if($.isArray(before) && !$.isArray(now)){
					data1=[{before:before[0],now:now}];
				}else if(!$.isArray(before) && $.isArray(now)){
					data1=[{before:before,now:now[0]}];
				}else if($.isArray(before) && $.isArray(now)){
					data1=[];
					for(var i=0;i<Math.max(before.length,now.length);i++){
						data1.push({before:before[i],now:now[i]});
					}
				}else if(!$.isArray(before) && !$.isPlainObject(before) && !$.isArray(now) && !$.isPlainObject(now)){
					data1=[{before:before,now:now}];
				}
				
				tds.eq(1).html('<div><table class="line-table"><tbody>'+toHtml(data1)+'</tbody></table></div>');
				
			}
		});
		
	});
	
	function toHtml(data){
		var ret='';
		if($.isArray(data)){
			data.forEach(d=>{
				ret+='<tr>'+toHtml(d.before)+toHtml(d.now)+'</tr>';
			});
		}else if($.isPlainObject(data)){
			ret='<td><div>'+JSON.stringify(data)+'</div></td>';
		}else{
			ret='<td><div>'+data+'</div></td>';
		}
		return ret;
	}
	
	function compare(result,json1,json2){
		if($.isArray(json1) && $.isPlainObject(json2)){
			return compare(result,json1[0],json2);
		}else if($.isArray(json2) && $.isPlainObject(json1)){
			return compare(result,json1,json2[0]);
		}
	
		if($.isArray(json1)){
			if(result==null){
				result=[];
			}
			for(var i=0;i<json1.length;i++){
				compare(result,json1[i],json2[i]);
			}
		}else if($.isPlainObject(json1)){
			if(result==null){
				result={};
			}
			for(var key in json1){
				if(!$.isArray(json1[key]) && !$.isPlainObject(json2[key])){
					if(json1[key]!=json2[key]){
						result[key]={before:json1[key],now:json2[key]};
					}
				}else{
					compare(result,json1[key],json2[key]);
				}
			}
		}
	}
	
	function tryParseJson(str){
		if(str.indexOf && (str.indexOf('[')==0 || str.indexOf('{')==0)){
			return JSON.parse(str);
		}
		return str;
	}
	
	//console.log(result);
	
	
</script>